home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group97b.txt / 000068_icon-group-sender _Wed Sep 17 08:00:12 1997.msg < prev    next >
Internet Message Format  |  2000-09-20  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with SMTP id IAA02259
  4.     for <icon-group-addresses@cheltenham.CS.Arizona.EDU>; Wed, 17 Sep 1997 08:00:12 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA03444; Wed, 17 Sep 1997 08:00:11 -0700
  7. To: icon-group@cs.arizona.edu
  8. Date: Wed, 17 Sep 1997 20:31:55 +1000
  9. From: Stuart.Robinson@anu.edu.au (Stuart Robinson)
  10. Message-Id: <Stuart.Robinson-1709972031560001@asianstmg-221.anu.edu.au>
  11. Organization: ANU
  12. Sender: icon-group-request@cs.arizona.edu
  13. Subject: outputting name of file used as input
  14. Errors-To: icon-group-errors@cs.arizona.edu
  15. Status: RO
  16.  
  17. Hello.  I was wondering whether there is way of getting a program written
  18. in Icon and compiled on ProIcon (Macs) to write the name of the file it
  19. uses as input when file selection is done external to the program.  In
  20. other words, I want to be able to write a line like the following
  21.  
  22. write("Results of Count on " || FILENAME GOES HERE || ": " || count )
  23.  
  24. inserting the name of the file used as input where I have written
  25. "FILENAME GOES HERE".  Thanks in advance.
  26.  
  27. -- 
  28. Stuart Robinson <Stuart.Robinson@no_spam!anu.edu.au>
  29. The Australian National University
  30. *TO REPLY, REMOVE "no_spam!" FROM E-MAIL ADDRESS GIVEN ABOVE
  31.